import request from '@/api/http.js'

//获取Chajet_token
export const GetChanjetToken = ()=>{
    return request.get('api/Chanjet/GetChanjetToken')
}

 /// 同步仓库信息
export const SyncWarehouseInfo = ()=>{
    return request.post('api/Chanjet/SyncWarehouseInfo')
}

/// 同步单位信息
export const SyncUnitInfo = ()=>{
    return request.post('api/Chanjet/SyncUnitInfo')
}

/// 同步存货分类信息
export const SyncInventoryClassInfo = ()=>{
    return request.post('api/Chanjet/SyncInventoryClassInfo')
}

/// 同步存货信息
export const SyncInventoryInfo = ()=>{
    return request.post('api/Chanjet/SyncInventoryInfo')
}

/// 同步部门信息
export const SyncDepartmentInfo = ()=>{
    return request.post('api/Chanjet/SyncDepartmentInfo')
}


/// 同步员工信息
export const SyncEmployeesInfo = ()=>{
    return request.post('api/Chanjet/SyncEmployeesInfo')
}


/// 同步往来单位信息
export const SyncDealingsUnitInfo = ()=>{
    return request.post('api/Chanjet/SyncDealingsUnitInfo')
}

/// 同步采购订单信息
export const SyncPurchaseOrderInfo = ()=>{
    return request.post('api/Chanjet/SyncPurchaseOrderInfo')
}

/// 存货库存同步信息
export const SyncSaleOrderInfo = ()=>{
    return request.post('api/Chanjet/SyncSaleOrderInfo')
}

/// 同步销售订单信息
export const SyncInventoryStockInfo = ()=>{
    return request.post('api/Chanjet/SyncInventoryStockInfo')
}

